//
//  Record.h
//  MoneyLog
//
//  Created by wicresoft on 11-1-27.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@class RecordWrapper;

@interface Record : NSObject {
	NSString *name;
	NSData *date;
	NSMutableArray *recordWrappers;
}

@property (nonatomic,retain) NSString *name;
@property (nonatomic,retain) NSData *date;
@property (nonatomic,retain) NSMutableArray *recordWrappers;

+ (Record *)recordNamed:(NSString *)name;
+ (Record *)newRecordWithName:(NSString *)recordName;
+ (void) recordRemoveAll;

//新增记录
- (void)addRecordWrapper:(NSString	*)name recordWrapper:(RecordWrapper *)recordWrapper;
//记录排序
- (void)sortRecordWrapper;
@end
